Key Pressed
fun KeyPressed(code: <Error class: unknown class>, modifiers: KeyModifiers = KeyModifiers(), location: <Error class: unknown class> = KEY_LOCATION_UNSPECIFIED, char: Char? = null): KeyPressed
fun KeyPressed(code: <Error class: unknown class>, modifiers: KeyModifiers = KeyModifiers(), location: <Error class: unknown class> = KEY_LOCATION_UNSPECIFIED, char: Char? = null): KeyPressed
Creates a new instance of KeyPressed event with the given parameters.
Since
8.0.0
Parameters
code
The code of the key.
modifiers
The keyboard modifiers.
location
The location of the key on the keyboard.
char
The character of the key.